<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::Happy - DTAC Prepaid Phone::</title>
<link href="${RESOURCE}/css/global.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/global-en.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/customize.css" rel="stylesheet" type="text/css">
<script src="${RESOURCE}/tha/include/AC_RunActiveContent.js" type="text/javascript"></script>
<script language=JavaScript>
var hadSubmit = false;

function getZipCode() {
  var psel = document.forms[0].inputProvince;
  var pcode = psel.options[psel.selectedIndex].value;
  var win = window.open("/bp3/bin/PostCodeDetail?pcode=" + pcode, null, "width=500, height=300, scrollbars=1");
}

function doExample() {
  var win = window.open("/bp3/page/thai/SimCard.htm", null, "width=800, height=600, scrollbars=1, resizable=1");
}

function doSubmit() {

  if (hadSubmit) return false;

  var msg = "";
  var f = document.forms[0];
  if (f.i00001.checked) msg = msg + f.i00001.value + ";";
  if (f.i00002.checked) msg = msg + f.i00002.value + ";";
  //if (f.i00003.checked) msg = msg + f.i00003.value + ";";
  if (f.i00004.checked) msg = msg + f.i00004.value + ";";
  if (f.i00005.checked) msg = msg + f.i00005.value + ";";
  if (f.i00006.checked) msg = msg + f.i00006.value + ";";
  if (f.i00007.checked) msg = msg + f.i00007.value + ";";
  if (f.i00008.checked) msg = msg + f.i00008.value + ";";
  if (f.i00009.checked) msg = msg + f.i00009.value + ";";
  if (f.i00010.checked) msg = msg + f.i00010.value + ";";
  if (f.i00011.checked) msg = msg + f.i00011.value + ";";
  if (f.i00012.checked) msg = msg + f.i00012.value + ";";

  f.inputInterest.value = msg;

  var oidx = f.inputOccupation.selectedIndex;
  var oval = f.inputOccupation.options[oidx].value;

  var reg = /^[12]/;
  if ( reg.test(oval) ) {
     f.inputGender.value = "U";
     f.inputMaritalStatus.value = "U";
  }

  hadSubmit = true;
  return true;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script> 

</head>
<body>
<div id="header">
    <%@include file="../head.jsp" %>
</div>

<div id="container">
	<div id="pathway"><a href="/bp3/bin/DpromptIndex"  class="link2">Web service</a> > <a href="/bp3/bin/Dspc/DpromptWelcome"  class="link2">Profile and Service</a> &gt; Emergency Refill</div>
	<div id="main">
    	<%@ include file="../menu.jsp" %>
    	<div id="content">
        	<div class="content-middle">
                
                <!--เนื้อหาเริ่มที่นี่-->
                <h3><img src="${RESOURCE}/eng/images/14_webservice_head01.gif"></h3>
               	<table width="100%" cellpadding="2" cellspacing="2" height="500">
                  	<tr>
                    	<td valign="top">
						
							<table width="650" border="0" cellspacing="0" cellpadding="0">
													  <!--SVLT.VAR:CONF_TOP-->
													  
													  <tr> 
													    <td> <table width="100%" border="0" cellspacing="3" cellpadding="0">
													        <tr> 
													          <td>&nbsp;</td>
													        </tr>
													        <tr> 
													          <td>&nbsp;</td>
													        </tr>
													      </table></td>
													  </tr>
													  <tr> 
													    <td height="15" align="center"><br>
													    <br>
													    <br></td>
													  </tr>
													  <tr> 
													    <td height="15" align="center"><table width="580" height="350" border="0" cellpadding="5" cellspacing="0" background="${RESOURCE}/eng/images/14_webservice_pp2.gif">
													      <tr>
													        <td width="100" align="center"><font size="3"><strong><font color="#FF0000"><br>
													        </font></strong></font></td>
													        <td align="center" valign="top"><br>
													            <br>
													            <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
													              <tr>
													                <td align="center"><font size="3" class="textnormalred_bold"><strong><font color="#FF0000"></font></strong></font></td>
													              </tr>
													              <tr>
													                <td align="center" class="textnormalred"><br> <!--SVLT.VAR:msg--><br>
													                  <br>
													                  <font color="#FF0000" class="textnormalred">&nbsp;</font><br>
													                  <br>
													                  <br>
													                  <br>
													                  <br>
													                  <br>
													                </td>
													              </tr>
													          </table>
 												          </td>
													      </tr>
													    </table>
													      <p><br>
													        <br>
													      </p></td>
													  </tr>
													  
													  <!--SVLT.VAR:CONF_BOTTOM-->
													</table>

						
						</td>
                 	</tr>
              	</table>                
                <!--เนื้อหาสิ้นสุดที่นี่-->
                
            </div>
            <div class="content-bottom"></div>
        </div>
    </div>
</div>
<div id="footer">
<img src="${RESOURCE}/eng/images/copy_right.jpg" />
<a href="http://www.dtac.co.th" target="_blank"><img src="${RESOURCE}/eng/images/dtact_logo.jpg" border="0" /></a>
<a href="http://www.happyvirus.com" target="_blank"><img src="${RESOURCE}/eng/images/virus_icon.jpg" border="0" /></a>
</div>
</body>
</html>
